# TODO -- /maps/search ?
location /nominatim/ {
    root {{ nominatim_home }}/nominatim-project/website;
    index /search;

    proxy_set_header Host \$http_host;
    proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto \$scheme;
    proxy_redirect off;
    proxy_pass http://unix:/run/nominatim.sock:/;
}
